<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title><?php echo $config['cfg_webname']; ?> - 信息管理</title>
    <link rel="stylesheet" type="text/css" href="css.css"/>
</head>
<body>
<div align="center">

    <include file="Template/default/user/user_header.php"/>
    <div class="main" align="left">
        <div class="clear"></div>

        <include file="Template/default/user/user_left.php"/>
        <div class="userRight">
            <div class="userRightContent">
                <div class="userRightContentTop">信息管理</div>
                <?php foreach($info['data'] as $k => $v){?>
                    <div class="infoBox">
                        <div class="title"><a href="<?php echo '/xinxi-' . $v['id'] .'.html'; ?>" target="_blank"><?php echo $v['title'];?></a>
                        </div>
                        <div class="state">
                        <span class="sWsh">
                        <?php
                        if($v['status'] == 0){
                            echo '<span class="sWsh">等待审核</span>';
                        }else if($v['status'] >= 1){
                            echo '<span class="sYsh">已通过审核</span>';
                        }

                        ?>
                        </span></div>
                        <div class="date"><?php echo $v['create_time']; ?><br><a href="{:U('User/manager/updateCreateTime',array('id'=>$v['id']))}">[更新]</a> <a
                                href="{:U('user/manager/editeInfo',array('id'=>$v['id']))}" target="_blank">[修改]</a> <a
                                href="{:U('user/manager/deleteInfo',array('id'=>$v['id']))}">[删除]</a></div>
                    </div>
                <?php } ?>

                <div class="pageDiv">
                        {$page}
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
